package com.wuyb.pojo.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 权限分配参数接收
 *
 * @Author: wyb
 * @Date: 2024/01/05/14:08
 * @Description:
 */
@Data
@ApiModel(description = "权限提交表单")
public class RoleParam {
    @ApiModelProperty(value = "用户管理权限", required = true)
    @NotNull(message = "用户管理权限不能为空")
    private Boolean user;

    @ApiModelProperty(value = "会议管理权限", required = true)
    @NotNull(message = "会议管理权限不能为空")
    private Boolean meeting;
}
